// API配置
export const API_CONFIG = {
  ENDPOINTS: {
    UPLOAD_DOCUMENT: '/api/documents/upload',
    CHAT_COMPLETIONS_STREAM: '/v1/chat/completions/stream',
    MODELS: '/v1/models',
  },
  TIMEOUT: 60000, // 60秒
};

// 获取API URL (开发环境使用代理)
export const getApiUrl = (endpoint: string): string => {
  return endpoint;
};

export default API_CONFIG; 